/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.VaiTro_DAO;
import DTO.VaiTro_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class VaiTro_BUS {
    
    public static String Get_MaVT() throws SQLException{
        return VaiTro_DAO.Get_MaVT();
    }
    public static ArrayList<VaiTro_DTO> GetALL(){
        return VaiTro_DAO.GetALL();
    }
    public static boolean Insert(VaiTro_DTO VaiTro){
        return VaiTro_DAO.Insert(VaiTro);
    }
    public static boolean Update(VaiTro_DTO VaiTro){
        return VaiTro_DAO.Update(VaiTro);
    }   
    public static boolean Delete(String MaVT){
        return VaiTro_DAO.Delete(MaVT);
    }
}
